<?php
namespace user\service\interfaces;
use common\service\interfaces\ICommonService;
/**
 * user服务接口
 * @package user\service\interfaces
 * @author yangjian<yangjian102621@gmail.com>
 */
interface IUserService extends ICommonService {

    const OPT_SIGN = 1; //签约操作
    const OPT_UNSIGN = 2; //解约操作

    const SIGN_STATUS_NOT = 0; //未签约
    const SIGN_STATUS_SIGNED = 1; //已签约
    const SIGN_STATUS_DEL = 2; //已解约

    const USER_TYPE_PERSON = 1; //个人类型会员
    const USER_TYPE_COMPANY = 2; //企业类型会员

    /**
     * 签约银行
     * @param $uerid
     * @param $data
     * @return mixed
     */
    public function signBank($uerid, $data);

    /**
     * 银行解约
     * @param $userid
     * @return mixed
     */
    public function unsignBank($userid);

}
